package com.mls.guardian.protocol.body;


import com.mls.guardian.config.ProjectConfig;
import com.mls.guardian.dataobj.ServerProcessInfo;
import com.mls.guardian.protocol.RemoteBody;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jl on 15/9/11.
 */
public class AppRestartBody extends RemoteBody implements Serializable {
    private String projectName;
    private List<ServerProcessInfo> serverProcessInfoListList;
    private ProjectConfig projectObj;
    private Object result;
    private String versionTag;
    private String version;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public ProjectConfig getProjectObj() {
        return projectObj;
    }

    public void setProjectObj(ProjectConfig projectObj) {
        this.projectObj = projectObj;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public List<ServerProcessInfo> getServerProcessInfoListList() {
        return serverProcessInfoListList;
    }

    public void setServerProcessInfoListList(List<ServerProcessInfo> serverProcessInfoListList) {
        this.serverProcessInfoListList = serverProcessInfoListList;
    }

    public String getVersionTag() {
        return versionTag;
    }

    /**
     * 用来做文件夹名称,不要包含特殊字符
     *
     * @param versionTag
     */
    public void setVersionTag(String versionTag) {
        this.versionTag = versionTag;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
